//
//  CheckPermissionsTool.h
//  JS_LDZX
//
//  Created by 赵博 on 2019/3/27.
//  Copyright © 2019 VJSPForJS_LDZX. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN


@interface CheckPermissionsTool : NSObject

+ (CheckPermissionsTool *)sharedView;
/** 麦克风权限如果没开启Yes 开启则为no */
- (BOOL)checkMicrophonePermission;
/** 摄像头权限如果没开启Yes 开启则为no */
- (BOOL)checkCameraPermission;
/** 相册权限 */
- (BOOL)checkAlbumPermission;
/** 定位权限如果没开启Yes 开启则为no */
- (BOOL)checkLoactionPermission;
/**
 @param title 描述文本
 @param type 0.麦克风  1.摄像头  2.定位 3.相册
 @param vc 当前控制器
 */
- (void)showAlertWithTitle:(NSString *)title type:(NSInteger)type vc:(UIViewController *)vc;
@end

NS_ASSUME_NONNULL_END
